package com.grupobbva.iici.entity.websphere_deploy.ORACLE_V10_1;

/**
 * Tiici_corporativaBeanInjectorImpl_15b76d86
 */
public class Tiici_corporativaBeanInjectorImpl_15b76d86 implements com.grupobbva.iici.entity.websphere_deploy.Tiici_corporativaBeanInjector_15b76d86 {
	/**
	 * ejbCreate
	 */
	public void ejbCreate(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.ConcreteTiici_corporativa_15b76d86 concreteBean=(com.grupobbva.iici.entity.ConcreteTiici_corporativa_15b76d86)cb;
		record.set(0,concreteBean.getCod_mult());
		record.set(1,concreteBean.getCod_ele());
		record.set(2,concreteBean.getValor1());
		record.set(3,concreteBean.getValor2());
		record.set(4,concreteBean.getValor3());
		record.set(5,concreteBean.getValor4());
	}
	/**
	 * ejbStore
	 */
	public void ejbStore(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.ConcreteTiici_corporativa_15b76d86 concreteBean=(com.grupobbva.iici.entity.ConcreteTiici_corporativa_15b76d86)cb;
		record.set(0,concreteBean.getCod_mult());
		record.set(1,concreteBean.getCod_ele());
		record.set(2,concreteBean.getValor1());
		record.set(3,concreteBean.getValor2());
		record.set(4,concreteBean.getValor3());
		record.set(5,concreteBean.getValor4());
	}
	/**
	 * ejbRemove
	 */
	public void ejbRemove(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.ConcreteTiici_corporativa_15b76d86 concreteBean=(com.grupobbva.iici.entity.ConcreteTiici_corporativa_15b76d86)cb;
		record.set(0,concreteBean.getCod_mult());
		record.set(1,concreteBean.getCod_ele());
	}
	/**
	 * ejbFindCorporativaBean
	 */
	public void ejbFindCorporativaBean(java.lang.String cod_mult, java.lang.String cod_ele, javax.resource.cci.IndexedRecord record) {
		record.set(0,cod_mult);
		record.set(1,cod_ele);
	}
	/**
	 * ejbFindByCodMulti
	 */
	public void ejbFindByCodMulti(java.lang.String codMulti, javax.resource.cci.IndexedRecord record) {
		record.set(0,codMulti);
	}
	/**
	 * ejbFindByPrimaryKey
	 */
	public void ejbFindByPrimaryKey(Object pkeyObject, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.Tiici_corporativaKey pkey=(com.grupobbva.iici.entity.Tiici_corporativaKey)pkeyObject;
		record.set(0,pkey.cod_mult);
		record.set(1,pkey.cod_ele);
	}
	/**
	 * ejbFindByID
	 */
	public void ejbFindByID(java.lang.String id, javax.resource.cci.IndexedRecord record) {
		record.set(0,id);
	}
	/**
	 * readReadChecking
	 */
	public void readReadChecking(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.ConcreteTiici_corporativa_15b76d86 concreteBean=(com.grupobbva.iici.entity.ConcreteTiici_corporativa_15b76d86)cb;
		record.set(0,concreteBean.getCod_mult());
		record.set(1,concreteBean.getCod_ele());
	}
	/**
	 * ejbPartialStore
	 */
	public void ejbPartialStore(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, javax.resource.cci.IndexedRecord record) {
		com.grupobbva.iici.entity.ConcreteTiici_corporativa_15b76d86 concreteBean=(com.grupobbva.iici.entity.ConcreteTiici_corporativa_15b76d86)cb;
		com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanInstanceExtension  instanceExtension = (com.ibm.ws.ejbpersistence.beanextensions.ConcreteBeanInstanceExtension)concreteBean._WSCB_getInstanceInfo();
		 
		record.set(0,concreteBean.getCod_mult());
		record.set(1,concreteBean.getCod_ele());
		if(instanceExtension.isDirty(2))
		{
			record.set(2,concreteBean.getValor1());
		}
		if(instanceExtension.isDirty(3))
		{
			record.set(3,concreteBean.getValor2());
		}
		if(instanceExtension.isDirty(4))
		{
			record.set(4,concreteBean.getValor3());
		}
		if(instanceExtension.isDirty(5))
		{
			record.set(5,concreteBean.getValor4());
		}
	}
	/**
	 * ejbStoreGetDirtyColumnFields
	 */
	public void ejbStoreGetDirtyColumnFields(com.ibm.ws.ejbpersistence.beanextensions.ConcreteBean cb, boolean[] dirtyBitmap) {
		
	}
}
